package com.sptpc.exam.model;

/**
 * 账号信息
 */
public class User {
    private int uid;
    private String name;
    private String trueName;
    private String major;
    private int userType;

    public User() {
    }

    public User(int uid, String name, String trueName, String major) {
        this.uid = uid;
        this.name = name;
        this.trueName = trueName;
        this.major = major;
    }

    public User(int uid, String name, String trueName, String major, int userType) {
        this.uid = uid;
        this.name = name;
        this.trueName = trueName;
        this.major = major;
        this.userType = userType;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }
}
